package com.nxn.dinner.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.nxn.core.model.IdEntity;

@Entity
@Table(name = "t_delivery_man")
public class DeliveryMan extends IdEntity {

	private String code;
	private String name;
	private String phone;
	private boolean enable;
	private String remark;
	
	@Column(name = "code")
	public String getCode() {
		return code;
	}
	@Column(name = "name")
	public String getName() {
		return name;
	}
	@Column(name = "phone")
	public String getPhone() {
		return phone;
	}
	@Column(name = "enable")
	public boolean getEnable() {
		return enable;
	}
	@Column(name = "remark")
	public String getRemark() {
		return remark;
	}

	public void setCode(String code) {
		this.code = code;
	}
	public void setName(String name) {
		this.name = name;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public void setEnable(boolean enable) {
		this.enable = enable;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
}
